package darknet.application.filesharing.impl.net;

import darknet.core.spec.net.Message;
import darknet.core.spec.net.ProtocolSender;
import darknet.core.spec.net.Response;
import darknet.core.spec.net.StreamableMessage;
import java.io.IOException;

/**
 * Implementation of a protocol sender for File sharing application.
 *
 * @author yoyo
 */
public class FileSharingProtocolSender implements ProtocolSender {

    // TODO Write this class.

    @Override
    public boolean canSend(Message toSend) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Response send(StreamableMessage toSend) throws IOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
